package com.aierkeji.call.b2c.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.aierkeji.call.b2c.entity.contants.Gender;
import com.fasterxml.jackson.annotation.JsonFormat;

public class AkjCallVo {
	
	private Long id;

	private String name;

	private String account;
	
	private Gender gender;
	
	private Date birth;
	
	private String pwd;
	
	private String newPwd;
	
	private AkjCallPosition position;// 职位

	private AkjCallEnterprise enterprise;// 企业
	
	private List<AkjCallRole> roles = new ArrayList<>();

	
	public List<AkjCallRole> getRoles() {
		return roles;
	}

	public void setRoles(List<AkjCallRole> roles) {
		this.roles = roles;
	}

	public String getNewPwd() {
		return newPwd;
	}

	public void setNewPwd(String newPwd) {
		this.newPwd = newPwd;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public AkjCallPosition getPosition() {
		return position;
	}

	public void setPosition(AkjCallPosition position) {
		this.position = position;
	}

	public AkjCallEnterprise getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(AkjCallEnterprise enterprise) {
		this.enterprise = enterprise;
	}

	public Gender getGender() {
		return gender;
	}

	public void setGender(Gender gender) {
		this.gender = gender;
	}

	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	
	
}
